<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-taskTemp-edit" th:object="${taskTemp}">
            <input id="id" name="id" th:field="*{id}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">工单号：</label>
				<div class="col-sm-8">
					<input id="orderno" name="orderno" th:field="*{orderno}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">计划号：</label>
				<div class="col-sm-8">
					<input id="planno" name="planno" th:field="*{planno}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">轮对编号：</label>
				<div class="col-sm-8">
					<input id="luandbh" name="luandbh" th:field="*{luandbh}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工步名称：</label>
				<div class="col-sm-8">
					<input id="gongbname" name="gongbname" th:field="*{gongbname}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工步编号：</label>
				<div class="col-sm-8">
					<input id="gongbbh" name="gongbbh" th:field="*{gongbbh}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工单下发时间：</label>
				<div class="col-sm-8">
					<input id="gongdxfsj" name="gongdxfsj" th:field="*{gongdxfsj}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">开工时间：</label>
				<div class="col-sm-8">
					<input id="kaigsj" name="kaigsj" th:field="*{kaigsj}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">完工时间：</label>
				<div class="col-sm-8">
					<input id="wanggsj" name="wanggsj" th:field="*{wanggsj}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工单状态 未开工 1开工 2完工：</label>
				<div class="col-sm-8">
					<input id="gongdzt" name="gongdzt" th:field="*{gongdzt}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">左或右：</label>
				<div class="col-sm-8">
					<input id="leftorright" name="leftorright" th:field="*{leftorright}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">项目编号：</label>
				<div class="col-sm-8">
					<input id="projectCode" name="projectCode" th:field="*{projectCode}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/taskTemp";
		$("#form-taskTemp-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-taskTemp-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
